package cc.lj.internal.merchant.interfaces.dto.convert;

import cc.lj.internal.merchant.domain.brand.model.vo.MerchantBrandDO;
import cc.lj.internal.merchant.interfaces.dto.MerchantBrandDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Named;
import org.mapstruct.factory.Mappers;

import java.math.BigDecimal;

/**
 * 商户品牌表DO与DTO转换
 * @author liangxifeng
 * @date 2021-12-13
 */
@Mapper
public interface MerchantBrandDTOConvertDO {
    MerchantBrandDTOConvertDO INSTANCE = Mappers.getMapper(MerchantBrandDTOConvertDO.class);
    //do to dto
    MerchantBrandDTO convert(MerchantBrandDO brandDO);
    //dto to do
    MerchantBrandDO convert(MerchantBrandDTO merchantBrandDTO);
}
